 
<div class="main">
    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1">
        <div class="panel panel-default">	
            <div class="panel-heading">	
                设置		
            </div>	
            <div class="panel-body">
               
                <div id="isduocity_bd">
                  
                  
                     <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label"> 内容安全监测</label>	
                        <div class="col-sm-9 col-xs-12">	
                           <label class='radio-inline'>
                                <input type="radio" name="pay[closecheck]" value="1"  {if $settings['closecheck'] == 1} checked="true" {/if} > 关闭</label>
                            <label class='radio-inline'><input type="radio" name="pay[closecheck]" value="0" {if $settings['closecheck'] == 0} checked="true" {/if} >开启</label>
     
                 <p>默认：  开启。关闭内容安全监测可能导致小程序无法上架。
                    上架成功后，如果有图片上传不流畅的可以关闭。 </p>
                        </div>	
                    </div>
               
             
                    <div class="form-group">
                        <label class="col-xs-2 col-sm-3 col-md-2 control-label">前端发布审核</label>
                        <div class="col-sm-5 col-xs-5">
                            <label class='radio-inline'>
                            <input type="radio" name="pay[needcheck]"  {if $settings['needcheck']==1}checked{/if} value="1" /> 需要审核
                            </label>
                            <label class='radio-inline'>
                            <input type="radio" name="pay[needcheck]" {if $settings['needcheck']==2}checked{/if}  value="2" />  不需要审核
                                </label>
                        </div>
                         
                    </div>
                    <!-- 可以下拉选择的参数 -->
                    {loop $settings_fields $field $item}
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">{$item['name']}</label>	
                        <div class="col-sm-9 col-xs-12">	
                            <textarea name="pay[{$field}]" id="{$field}" class="form-control"
                                      cols="70">{$settings[$field]}</textarea>	
                            {if $field=='hangye'}
                                      <p> 新增一个分类，需要在下面的“业态二级分类”增加对应的一行分类。</p>
                                      {/if}
                        </div>	
                    </div>
                    {/loop}
                    <!-- 经营业态 -->
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">业态二级分类</label>	
                        <div class="col-sm-9 col-xs-12">	
                            <textarea name="pay[jingyin]" id="jingyin" class="form-control"
                                      cols="70" style="height: 300px;">{$settings['jingyin']}</textarea>	
                            <p>格式（大分类：分类1,分类2,分类3 ）大分类是“商铺类型”填写。 </p>
                        </div>	
                    </div>
                    <!-- 楼层显示 -->
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">楼层显示</label>	
                        <div class="col-sm-9 col-xs-12">	
                            <textarea name="pay[louceng]" id="louceng" class="form-control"
                                      cols="70">{$settings['louceng']}</textarea>	
                            <p>  </p>
                        </div>	
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 col-sm-3 col-md-2 control-label">二手房楼层显示</label>
                        <div class="col-sm-5 col-xs-5">
                            <label class='radio-inline'>
                                <input type="radio" name="pay[layertype]"  {if $settings['layertype']==1}checked{/if} value="1" /> 中高低楼层
                            </label> 
                            <label class='radio-inline'>
                            <input type="radio" name="pay[layertype]" {if $settings['layertype']==2}checked{/if}  value="2" />  填写的具体层数（例如3 楼）
                            </label>
                        </div>                     
                    </div>
                    <!-- <div id="isduocity_bd">-->
	            </div>
            </div>	
	    </div>
        
        <div class="form-group col-sm-12 textalign">	
            <input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />	
            <input type="hidden" name="token" value="{$_W['token']}" />	
        </div>
    </form>
</div>
